package com.fg.pro.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fg.pro.trade.entity.TradeCategory;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * 商品分类(TradeCategory)表服务接口
 *
 * @author makejava
 * @since 2025-08-11 14:47:29
 */
public interface TradeCategoryService extends IService<TradeCategory> {

    List<TradeCategory> getTree();

    boolean refresh(Date date) throws InterruptedException;

    HashMap<String, Long> getIdAndName();
}

